package org.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ClassName: Health
 * Description:
 *
 * @Author Kotaro
 * @Create 2024/12/4 16:15
 * @Version 1.0
 */
@Data
public class Health {

    private String elderlyId; //老人id
    private BigDecimal bloodGlucose;  //血糖
    private Integer highPressure;  //高压
    private Integer lowPressure;  //低压

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 格式化时间
    private Date measurementTime;  //测量时间

}
